<?php /* Smarty version Smarty-3.1.12, created on 2013-03-02 22:17:31
         compiled from "/www/htdocs/w00fc40b/dota2league/templates/prototypes/profileHeroUnitRankingIcon.tpl" */ ?>
<?php /*%%SmartyHeaderCode:18138372551158a5ace43f7-08811076%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_valid = $_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    'fdc0b44dd6a7888455a2b85983536266e1f1bff8' => 
    array (
      0 => '/www/htdocs/w00fc40b/dota2league/templates/prototypes/profileHeroUnitRankingIcon.tpl',
      1 => 1362259048,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '18138372551158a5ace43f7-08811076',
  'function' => 
  array (
  ),
  'version' => 'Smarty-3.1.12',
  'unifunc' => 'content_51158a5ad0bd34_91721755',
  'variables' => 
  array (
    'elo' => 0,
    'eloClass' => 0,
    'eloAltDesc' => 0,
    'heroUnitImgSrc' => 0,
  ),
  'has_nocache_code' => false,
),false); /*/%%SmartyHeaderCode%%*/?>
<?php if ($_valid && !is_callable('content_51158a5ad0bd34_91721755')) {function content_51158a5ad0bd34_91721755($_smarty_tpl) {?><?php if ($_smarty_tpl->tpl_vars['elo']->value>@DIAMONDELO){?>
<?php $_smarty_tpl->tpl_vars["heroUnitImgSrc"] = new Smarty_variable("img/diamond-award-heroUnit.png", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloClass"] = new Smarty_variable("diamond", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloAltDesc"] = new Smarty_variable("Diamond", null, 0);?>

<?php }elseif($_smarty_tpl->tpl_vars['elo']->value>=@GOLDELO&&$_smarty_tpl->tpl_vars['elo']->value<@DIAMONDELO){?>
<?php $_smarty_tpl->tpl_vars["heroUnitImgSrc"] = new Smarty_variable("img/gold-award-heroUnit.png", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloClass"] = new Smarty_variable("gold", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloAltDesc"] = new Smarty_variable("Gold", null, 0);?>

<?php }elseif($_smarty_tpl->tpl_vars['elo']->value>=@SILVERELO&&$_smarty_tpl->tpl_vars['elo']->value<@GOLDELO){?>
<?php $_smarty_tpl->tpl_vars["heroUnitImgSrc"] = new Smarty_variable("img/silver-award-heroUnit.png", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloClass"] = new Smarty_variable("silver", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloAltDesc"] = new Smarty_variable("Silver", null, 0);?>
<?php }else{ ?>
<?php $_smarty_tpl->tpl_vars["heroUnitImgSrc"] = new Smarty_variable("img/bronze-award-heroUnit.png", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloClass"] = new Smarty_variable("bronze", null, 0);?>
<?php $_smarty_tpl->tpl_vars["eloAltDesc"] = new Smarty_variable("Bronze", null, 0);?>
<?php }?>
<div align="center" style="width:131px">
	<h3 class="heroUnitElo <?php echo $_smarty_tpl->tpl_vars['eloClass']->value;?>
 t" title="General Elo-Rating. Your Ranking is: <?php echo $_smarty_tpl->tpl_vars['eloAltDesc']->value;?>
" align="center"><?php echo $_smarty_tpl->tpl_vars['elo']->value;?>
</h3>
	<img src="<?php echo $_smarty_tpl->tpl_vars['heroUnitImgSrc']->value;?>
" class="heroUnitImg" alt="Ranking: <?php echo $_smarty_tpl->tpl_vars['eloAltDesc']->value;?>
" />	
</div>
<?php }} ?>